package cn.jinjimi.app.interfaces;

import cn.jinjimi.app.entity.Company;
import cn.jinjimi.app.entity.ZdbAge;
import cn.jinjimi.app.entity.ZdbInsurancesType;
import cn.jinjimi.app.main.widget.CommonRV.IViewData;

import java.util.List;

/**
 * Created by lforxeverc on 2017/6/22.
 */

public interface ZdbHomeView<VD extends IViewData> extends IView {
    void refreshDataToView(List<VD> datas, boolean hasMore);

    void onInsuranceLoaded(List<ZdbInsurancesType> data);

    void onCompanyLoaded(List<Company> company);

    void onAgeLoaded(List<ZdbAge> age);

    void onFilterClick(int clickPosition,int scrollPosition);

    void onLoadPageDataFail(int page);

    void setRefreshTime();
}
